{% extends 'base.html' %}

{% block content %}
{% load my_tags %}
{% multi_tag 2 3 %}

  {% for article in article_list %}
    <h5><a href="/{{username}}/article_detail/{{article.nid}}"> {{article.title}}</a></h5>
    <p>{{article.desc}}</p>
    <div>
      <a href="#">{{article.user.username}}</a> <span>发布于:{{article.create_time|date:"Y-m-d H:i"}}</span>
      <span>评论{{article.comment_count}}</span><span>点赞{{article.up_count}}</span><span>踩{{article.down_count}}</span>
    </div>
    <hr />
  {% endfor %}

{% endblock %}